package com.fast.manager.system.service;

import java.util.List;

import com.fast.commons.service.BaseService;
import com.fast.commons.web.model.DataGrid;
import com.fast.manager.system.domain.DataDictDetail;

public interface DataDictDetailService extends BaseService<DataDictDetail> {
	
	/**
	 * 查询所有一级的目录
	 * @return
	 */
	public List<DataDictDetail> findAllDataDictDetailRoot() ;
	
	
	/**
	 * Combobox
	 * @param dict_code
	 * @return
	 */
	public List<DataDictDetail> getDictCombobox(String dict_code) ;
	
	/**
	 * 根据目录ID递归出tree
	 * @param id
	 * @return
	 */
	public List<DataDictDetail> treegrid() ;
	
	/**
	 * 根据数据字典ID查询字典明细显示为表格
	 * @param dataDictId
	 * @return
	 */
	public DataGrid<DataDictDetail> datagrid(Integer dataDictId) ;
	
	/**
	 * 根据数据字典ID查询字典明细树状表格
	 * @param dataDictId
	 * @return
	 */
	public List<DataDictDetail> treegrid(Integer dataDictId) ;
	
}
